﻿using KinonekoSoftware.Foundation.Bus;

namespace KinonekoSoftware.Studio.Models.Shells
{
    public abstract class JuXiaoYouNotification : IMessage
    {
        protected void PostSelf()
        {
            MessageBus.OnNext(this);
        }
        
        
        public virtual  bool                               OverrideMappingBehavior => false;
        public virtual  Type                               OverrideMapping         => null;
        
        public required IMessageBus<JuXiaoYouNotification> MessageBus              { get; init; }
    }
}